package com.beyondbit.demo.service;

import com.beyondbit.demo.entity.EntityFileInfo;
import com.beyondbit.demo.entity.EntitySignatureLog;

import java.util.List;

/**
 * @ProjectName: beyondbit-demo
 * @Package: com.beyondbit.demo.swwSignature.service
 * @ClassName: SwwSignatureService
 * @Author: zq
 * @Description:
 * @Date: 2021/12/14 16:20
 * @Version: 1.0
 */
public interface SwwSignatureService {

    //获取制文附件列表
    List<EntityFileInfo> selFileInfoByRefTableId(String refTableId);

    /*新增签章记录*/
    int insterSignatureLog(EntitySignatureLog signatureLog);

    /*根据COMMON_ID获取最新的一条签章后文档信息*/
    EntitySignatureLog selSignLogInfoByCommonId(String commonId);

    int update(EntitySignatureLog item);

    String getFlowIdByFormId(String formId);

}
